﻿@*@using Meb.Model*@
@{
    //ViewBag.Title = "首页";
}
<div>
    <input type="text" ng-model="test"/>
    <span ng-bind="test"></span>
    <ul>
        <li ng-repeat="item in model">
            <span ng-bind="item.name"></span>:<span ng-bind="item.age"></span>
        </li>
    </ul>
    我是后端Home Index页面
</div>

<p>
  @*//  @ViewData["msg"]*@
</p>




<style>
    body {
        margin: 0;
        padding: 0;
        font-family: "microsoft jhenghei";
        font-weight: 400;
        font-size: 14px;
    }
</style>


<div style="height:100px;margin-top:20px;border-bottom:1px dashed #d1d1d1;text-align:center;margin-bottom:20px;">
    <span style="border-bottom:1px dashed #d1d1d1;">验证控件测试</span>
    <div>
        <div data-form="form">
            <div>
                <input type="text" value="" ng-model="testmodel.value" verify="false" data-verifynmae="email" name="email" empty/>
                <span style="color:red;" data-show="false" data-form-email>输入错误</span>
                
            </div>
            <div>
                <input type="text" value="" ng-model="testmodel.Ip" verify="true" data-verifynmae="ip" name="ip" />
                <span style="color:red;" data-show="false" data-form-ip>输入错误</span>  
            </div>
            <div>
                <button ng-click="seart()">提交</button>
            </div>
        </div>
        
    </div>
</div>

<div style="width: 400px;margin: 0 auto;">
     <file-uploads></file-uploads>
</div>


<script>
    $(document).ready(function () {
        $.FileUpload('/Home/Upload','upload','1080','1080');
    });
</script>